<template>
  <div class="addshop_two">
    <p>
      <span>排序</span
      ><template
        ><el-input-number
          v-model="sortnum"
          @change="handleChange"
          :min="1"
          :max="10"
          label="排序"
        ></el-input-number>
      </template>
    </p>
    <p>
      <span>积分</span
      ><template
        ><el-input-number
          v-model="starnum"
          @change="handleChange"
          :min="1"
          :max="10"
          label="排序"
        ></el-input-number>
      </template>
    </p>
    <p>
      <span>虚拟销量</span
      ><template
        ><el-input-number
          v-model="nonum"
          @change="handleChange"
          :min="1"
          :max="10"
          label="排序"
        ></el-input-number>
      </template>
    </p>
  </div>
</template>
<script>
export default {
  data() {
    return {
      starnum: 1,
      nonum:1,
      sortnum:1
    }
  },
  methods: {
    handleChange(value) {
      
    },
    validate() {
            if (this.sortnum > 1 && this.nonum > 1 && this.starnum > 1) {
                return true
            } else {
                return false
            }
        },
  },
}
</script>
<style lang="scss" scoped>
.addshop_two {
  width: 100%;
  height: 60%;
  display: flex;
  justify-content: space-between;
  padding: 60px 30px;
  p{
    span{
      font-size: 17px;
      margin-right: 10px;
      color: #888;
    }
  }
}
</style>
